home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / l2100.zip / BOUNTY.REF < prev    next >
Text File  |  1997-05-23  |  12KB  |  475 lines

  1. ;all bounty hunting stuff is done in here
  2.  
  3. @#BOUNTYLIST
  4.   @show
  5. `r0`c  `r1  Target                      Payoff                   Placed by    `r0
  6.  
  7.   @do `p21 is 1
  8.   @do `p25 is &totalaccounts
  9.   @do `p25 + 1
  10.    @label readmore
  11.    @if bounty.`p21 exist TRUE then do
  12.      @begin
  13.      @readfile bounty.`p21
  14. `p20
  15. `p22
  16.      @do `s01 is getname `p21
  17.      @do `s02 is getname `p20
  18.      @do `s03 is `p22
  19.      @do pad `s01 20
  20.      @do pad `s03 10
  21.      @show
  22.   `0`s01          `$$`s03 `2             `s02
  23.      @end
  24.    @do `p21 + 1
  25.    @if `p21 < `p25 then goto readmore
  26.  
  27.   @show
  28.  
  29. `k
  30.  
  31.  
  32. @#DIEHUNT
  33. ;customized death for when a bounty hunter kills
  34.   @do X is 27
  35.   @do Y is 7
  36.   @do money / 2
  37.   @do `p02 is `p03 (give 'em max hit points)
  38.   @do `p20 is `p01
  39.   @do `p20 / 5
  40.   @do `p01 - `p20
  41.   @do MAP is 155
  42.   @do dead is 1
  43.   @update_update
  44.  
  45.   @do talk `4Newsflash:`0`x`n`x`2was`x`bmurdered`x`2by`x`0`s01`2! all
  46.   @do addlog
  47.   `0`n`2 was `bmurdered`2 by bounty hunter `0`s01`2!
  48.   @routine seperate in gametxt.ref
  49.  
  50. @pauseoff
  51. @show
  52. `r0`c
  53. C▄▄▄█████████▄▄▄
  54. C▄██░░░░███████████
  55. C█░░░░██████████████████
  56. C█░▒▒░████████▐▄█████████
  57. C▄▄C▐░▒▓░████████████▀▀█████
  58. AC██
  59. C▀▄█▌    ░▒▓▒░█████▄ ▌▐█▄
  60. AC█████▄▄▓█C▒▓
  61. C██▄   ▒▓▒░ ██
  62. AC░░▓▌▄▀░▄████▀▓▌
  63. AC
  64. C▓▒░██▀▄▄ ▄▀▀    ▀▀▓
  65. AC▓▓░▄▓▀▀C▀▀▒░▀ ▀
  66. C▀▀▀░░█ ░C▄    ▀   ▒▓
  67. AC▓▓░▒   ▀    ▐▌
  68. C▀░▒▐█▄▄    ▄▄▀▀
  69. AC▄▄    ▄█
  70. C▄ ██▀▀▄▄▀▌ ▌ 
  71. AC▄▄▀▀████▀▄
  72. C█████▄▓▓▄█C▓▄ ░▒
  73. AC█████▀▀
  74. C▀██░▓▓▒▓▄▄░▓▒░▒▓▀▀ ▀▀▀▀
  75. C▄▄ ▀▄ ▀▀▀▀ ▀▀ ▄▀ ▓▒
  76. C▄░▒▓▌ ▀ ▓█▐█▀▄
  77. AC▀ ▄ ▒░
  78. C▄  ▒░░░▀ ▄ ▀ ▄ ▄▄ ▄▄ ▄ 
  79. AC▀▄░C  ▄▄▄
  80. C▄▓▓▒░░▌▀ ▄██▄▄ ▄▄▄▄▄ ▄▄
  81. AC░▒██▄ ▀░▒
  82. C▄ ▄▀█▄▓▄▄ ▀▄
  83. AC███▄▀████ ▄▀▀ ▄▄▌
  84. AC▄▌
  85. C░▒▓█▄▄▄▄▀▀▀▀▄ 
  86. AC██▄▒▒▄▀ 
  87. AC▀▀▀▄▄▄▄█▓▒░
  88.  
  89.                      `%You have made an error, s&boy.
  90.  
  91. `k
  92.  @if `v03 is 0 then do
  93.    @begin
  94.  ;rules.ref file says unlimited deaths not allowed, so we will boot them
  95.  ;till tomorrow
  96.  
  97.  ;take them off the map
  98.   @do map is 1
  99.    @halt
  100.    @end
  101.  
  102.  @pauseon
  103.  
  104.  @do dead is 0
  105.  
  106.  @if `p07 less 0 then do
  107.  @begin
  108.  @show
  109. `r0`c`%  `r1IT FEELS KINDA WARM IN HERE?`r0
  110.  
  111.   `4You open your eyes.
  112.  
  113. `k  `4There are naked screaming people all around you.  A little boy with
  114.   a ghastly face begins to gnaw on your leg.
  115.  
  116. `k  `6"Din, leave the newcomer alone.  S&he isn't staying." `4a slow voice that
  117.   can only be described as an abomination dolefully states.
  118.  
  119. `k  `2You feel yourself floating away... faster and faster.
  120.  @end
  121.  
  122.  @if `p07 more -1 then do
  123.  @begin
  124.  @show
  125. `r0`c`%  `r1APPARENTLY DEATH ISN'T THE END.`r0
  126.  
  127.   `2You open your eyes.
  128.  
  129. `k  `2You are lying on a table of solid rock in a marble room.  Hundreds of
  130.   soft voices are murmuring all around you, but you see no one.
  131.  
  132. `k  `%"Send s&him back." `2a voice whispers, this one louder than the others.
  133.  
  134. `k  `2You feel yourself floating away... faster and faster.
  135.  
  136. `k
  137.  @end
  138.  
  139.  
  140. @show
  141. `c  `r1`%AWAKENING.`r0
  142.  
  143.   `0"Can you hear me, `n?" `2a stressed voice shouts.
  144.  
  145.   `$"Yeah.  Christ mom, lemmie up, I'm fine." `2you assure your mother.
  146.  
  147.   `0"You're alive!! The elders brought your body here yesterday, you must
  148.   have fainted out there." `2your mother shouts, tears of joy streaming down
  149.   her wrinkled face.
  150.  
  151.   `$"Ok, ok - nice little happy reunion and all that, but I gotta hit the
  152.   road now. Buhbye." `2you tell her.  Afterall, you need to make the most of
  153.   this new lease on life.
  154.  
  155.   `2You lose `4half`2 the gold you were carrying and `4`p20`2 experience.
  156.  
  157. `k
  158.   @loadmap map
  159.   @drawmap
  160.   @update
  161.  
  162.  
  163. @#HUNTERS
  164. ;called from genran, it's the .ref called when someone meets up with a
  165. ;bounty hunter
  166. @do `p20 random 5 1
  167. @if `p20 is 1 then `s01 is Job
  168. @if `p20 is 2 then `s01 is Kasabo
  169. @if `p20 is 3 then `s01 is Year
  170. @if `p20 is 4 then `s01 is Sedahk
  171. @if `p20 is 5 then `s01 is Eudor
  172.  
  173.  
  174.   @if bounty.&playernum exist false then do
  175.     @begin
  176.     @do saybar
  177. Bounty hunter `s01 and his men pass close by.
  178.     @closescript
  179.     @end
  180.  
  181.     @readfile bounty.&playernum
  182. `p23
  183. `p24
  184. @do `v01 is 1
  185. @show
  186. @do write
  187. `r1
  188. @clearblock 21 21
  189. @do move 3 21
  190. @do write
  191. `r0  `2You are suddenly surounded.  Press ENTER to continue...
  192. @do readspecial `s02 `x
  193.  
  194.  
  195.  
  196.   @show
  197. `r0`c  `r1  A deal, perhaps?  `r0
  198.  
  199.   `2It is `s01 and his men.  Looks like you are screwed.
  200.  
  201.   `0"There is a price on your head, friend.  A price of `$`$`p24`0."
  202.  
  203. @do write
  204. `x`x
  205. @choice
  206. I know this, `s01.  I will pay you the same amount to pass me by.
  207. Please don't hurt me!  I'll do anything!
  208. @show
  209. `\
  210. @if responce is 1 then do
  211.   @begin
  212.   @do `p25 is `p24
  213.   @do `p25 - 1
  214.   @if money > `p25 then do
  215.     @begin
  216.     @do money - `p24
  217.     @show
  218.   `0"Very well.  But next time I may not be so friendly.. I do have a
  219.   reputation to uphold!" `2`s01 grunts as he takes your money.
  220.  
  221. `k
  222.    @drawmap
  223.    @update
  224.    @closescript
  225.     @end
  226. @show
  227.   `2You reach into your pockets and pull out some.. lint.
  228.  
  229.   @end
  230. ;they might get killed here
  231. @show
  232.   `0"Kill him!" `2`s01 roars.
  233.  
  234. @do `p26 random 2 1
  235. @if `p26 is 1 then do
  236.  @begin
  237.  ;dies
  238.  @do delete bounty.&playernum
  239.    @writefile mail\mail`p23.dat
  240.   `0Bounty hunter `s01 reports:
  241. `2-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  242. `0  `n`2 has been `4killed`2.  Good doing business with you.
  243.  
  244.  @show
  245.   `2You are unable to escape.  You are still alive when `s01 begins to
  246.   remove his price - your head.
  247.  
  248. `k
  249.  @run diehunt
  250.  @end
  251. @show
  252.   `2You hack your way through the crowd, you are a mighty warrior!
  253.  
  254. `k  `%YOU ESCAPE.  `2But this may happen again - until your bounty is
  255.   paid off in FlagCity - or you are killed.
  256.  
  257. `k
  258. @drawmap
  259. @update
  260.  
  261. @#BOUNTY
  262. ;The Bounty Hunting Office
  263. @OFFMAP
  264. @DO MOVEBACK
  265. @label hunt
  266. @DO `v01 is 1
  267. @SHOW
  268. `r0`c  `r1  Bounty Office  `r0
  269.  
  270.   `2A helmeted man with a crossbow slung to his side stands behind the
  271.   counter.  He looks looks well seasoned and speaks with a raspy voice,
  272.   `0"Good afternoon, how may we ... help you?"`2
  273.  
  274. `2  You see the word `0'Nickabrick' `2carved into his arm.
  275.  
  276. @DO WRITE
  277. `x`x
  278. @CHOICE
  279. View bounty list
  280. Place a bounty
  281. Pay off your own bounty
  282. Ask for advice
  283. Check out their weapons
  284. Conduct 'business' with Nickabrick
  285. Leave, quick!!
  286. @if response is 6 then do
  287.   @begin
  288.   @do `p20 is 3
  289.   @run getquest in quest.ref
  290.   @end
  291.  
  292.  
  293. @if responce is 1 then do
  294.   @begin
  295.   @routine bountylist
  296. @do goto hunt
  297. @end
  298.  
  299. @IF RESPONSE IS 2 THEN DO
  300.   @BEGIN
  301.   @SHOW
  302. `r0`c  `r1  Playing dirty  `r0
  303. `\  `$"I need to make someone's life hard, can you help?,"`2 you say.
  304.  
  305.   `0"Of course... who is our lucky winner?"
  306.   @chooseplayer `p22
  307.   @if `p22 is 0 then do
  308.     @begin
  309.     @show
  310. `k
  311.     @do goto hunt
  312.     @end
  313.   @if `p22 is &playernum then do
  314.     @begin
  315.     @show
  316.   `0"Ha, I like the concept!" `2Nickabrick laughs.  You must have amused him
  317.   in some small way.`\`\`k
  318.     @do goto hunt
  319.     @end
  320.    @show
  321.   `0"Of course.  How much money are you willing to place?"`2 he asks calmly.
  322.  
  323.   @do write
  324. `x`x
  325.   @do readnum 30
  326.   @do `p20 is `v40
  327.   @if `p20 < 1000 then do
  328.     @begin
  329.     @show
  330. `\`\  `0"Minimum bounty is `$1000`0, friend."
  331. `\`k
  332.     @do goto hunt
  333.     @end
  334.   @show
  335.  
  336.   @if money < `p20 then do
  337.      @begin
  338.      @show
  339. `\  `2You don't have that much gold on you... Better hit the bank.
  340.  
  341. `k
  342.      @do goto hunt
  343.      @end
  344.   @do money - `p20
  345. @show
  346.  
  347.  
  348.   @if bounty.`p22 exist true then do
  349.     @begin
  350.     @readfile bounty.`p22
  351. `p23
  352. `p24
  353.     @if `p23 not &playernum then do
  354.       @begin
  355.       @if `p24 > `p20 then do
  356.         @begin
  357.         @show
  358.   `0"There is a problem.  Someone has already placed a bounty on that
  359.   person..  Of course, we will let you do anything for a price.  Try an
  360.   amount that is at least `$$`p24 `0and we'll think about it."
  361. `\`k
  362.         @do goto hunt
  363.         @end
  364.       @end
  365.     @end
  366.  
  367.   @do `s05 is getname `p22
  368.   @do delete bounty.`p22
  369.   @writefile bounty.`p22
  370. &playernum
  371. `p20
  372.     @do addlog
  373.   `0`n `2has set a bounty of `$`p20 `2to kill `0`s05`2!
  374.      @routine seperate in gametxt.ref
  375.  
  376.   @show
  377.   `0"Alright.  The bounty has been placed... The only way to get out of it
  378.   is if `s05 gets in here and pays it off... or death of course."
  379.  
  380. `k
  381.   @do goto hunt
  382.   @END
  383.  
  384. @IF RESPONSE IS 3 THEN DO
  385.   @BEGIN
  386.   @SHOW
  387. `r0`c  `r1  `%Cutting a deal  `r0
  388.  
  389.   `$"Someone hates me, but I have more money than them.  Please stop
  390.   chasing me."`2 you state.
  391.  
  392. @if bounty.&playernum exist false then do
  393.   @begin
  394.   @show
  395.   `0"Huh?  You are not marked by us.  Not yet."
  396.  
  397.   `2You turn bright red.  `$"I, I uh, knew that..."
  398. `\`k
  399.   @do goto hunt
  400.   @end
  401.   @readfile bounty.&playernum
  402. `p20
  403. `p21
  404.   @show
  405.   `0"It will cost you `$$`p21 `0to clear your name.  Can you pay it?"
  406.  
  407.   @do `v01 is 1
  408.   @do write
  409. `x`x
  410.    @choice
  411. Yes, I can  `2(you have `0`$$&money`2)
  412. I cannot pay it
  413. @if responce is 1 then do
  414.   @begin
  415.   @if money < `p21 then do
  416.     @begin
  417.     @do money / 2
  418.     @show
  419. `\`\  `0"Very well, where is the gold?"`2
  420.  
  421. `2  You search your pockets desperately.  A few moments later you are
  422.   outside with quite a bruise and some money missing.
  423.  
  424. `k
  425.     @drawmap
  426.     @update
  427.     @closescript
  428.     @end
  429.  
  430.     @do money - `p21
  431.     @do delete bounty.&playernum
  432.     @do addlog
  433.   `0`n `2convinces the Bounty Hunter Guild to stop chasing s&him.
  434.      @routine seperate in gametxt.ref
  435. @show
  436. `\`\  `0"Very well, now you're no good to me dead."`2
  437. `\`k
  438.   @do goto hunt
  439.   @end
  440. @do goto hunt
  441.   @END
  442. @IF RESPONSE IS 4 THEN DO
  443.   @BEGIN
  444.   @SHOW
  445. `\`\  `$"Excuse me, could you give me some advice?"`2 you ask.
  446.  
  447. `k  `0"Money makes the world go around.  And if you have enough when we
  448.   catch up with you it just might save ya."`2 he offers.
  449. `\`k
  450. @do goto hunt
  451.   @END
  452. @IF RESPONSE IS 5 THEN DO
  453. @Begin
  454. @Show
  455. `\`\  `$"I'm kinda in the business myself," `2you say.  `$"What tools do you
  456.   recommend?"  `2He smiles, `0"These have helped many a hunter..."
  457.   `2You review your choices.
  458.  
  459. `k
  460. @show
  461. `r0`c                         `r1 `%Bounty Hunting weapons
  462.  
  463.  
  464. @buymanager
  465. 4
  466. 12
  467. 38
  468. 49
  469. 40
  470. @do goto hunt
  471. @End
  472. @drawmap
  473. @update
  474. @end
  475.